package com.ec.system.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ec.core.mybatis.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 系统字典明细表
 * </p>
 *
 * @author Eric
 * @since 2022-06-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ec_system_dict")
public class SysDict extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 字典明细ID
     */
    @TableId(value = "dict_id", type = IdType.ASSIGN_ID)
    private Long dictId;

    /**
     * 字典ID
     */
    private Long dictTypeId;

    /**
     * 字典明细名称
     */
    private String dictName;

    /**
     * 字典明细key
     */
    private String dictKey;

    /**
     * 字典明细value
     */
    private String dictValue;

    /**
     * 字典明细排序
     */
    private Integer dictSort;

    /**
     * 描述
     */
    private String dictDesc;
}
